package com.quickpass.order.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 订单(BOrder)实体类
 *
 * @author makejava
 * @since 2023-02-06 09:54:56
 */

public class OrderDTO implements Serializable {

    /**
     * 商家ID
     */
    private Long businessid;
    /**
     * 用户ID
     */
    private Long memberid;
    /**
     * 桌号ID
     */
    private Integer tableid;

    /**
     * 使用的优惠券
     */
    private Long couponid;

//订单金额
    private Double totalamount;

    public OrderDTO() {
    }

    public OrderDTO(Long businessid, Long memberid, Integer tableid, Long couponid, Double totalamount) {
        this.businessid = businessid;
        this.memberid = memberid;
        this.tableid = tableid;
        this.couponid = couponid;
        this.totalamount = totalamount;
    }

    public Long getBusinessid() {
        return businessid;
    }

    public void setBusinessid(Long businessid) {
        this.businessid = businessid;
    }

    public Long getMemberid() {
        return memberid;
    }

    public void setMemberid(Long memberid) {
        this.memberid = memberid;
    }

    public Integer getTableid() {
        return tableid;
    }

    public void setTableid(Integer tableid) {
        this.tableid = tableid;
    }

    public Long getCouponid() {
        return couponid;
    }

    public void setCouponid(Long couponid) {
        this.couponid = couponid;
    }

    public Double getTotalamount() {
        return totalamount;
    }

    public void setTotalamount(Double totalamount) {
        this.totalamount = totalamount;
    }
}

